﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F11 RID: 3857
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMagicBattleFailSettleInfoScNotify : IMessage<RogueMagicBattleFailSettleInfoScNotify>, IMessage, IEquatable<RogueMagicBattleFailSettleInfoScNotify>, IDeepCloneable<RogueMagicBattleFailSettleInfoScNotify>, IBufferMessage
	{
		// Token: 0x17003100 RID: 12544
		// (get) Token: 0x0600AD05 RID: 44293 RVA: 0x001D3FEB File Offset: 0x001D21EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMagicBattleFailSettleInfoScNotify> Parser
		{
			get
			{
				return RogueMagicBattleFailSettleInfoScNotify._parser;
			}
		}

		// Token: 0x17003101 RID: 12545
		// (get) Token: 0x0600AD06 RID: 44294 RVA: 0x001D3FF2 File Offset: 0x001D21F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMagicBattleFailSettleInfoScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003102 RID: 12546
		// (get) Token: 0x0600AD07 RID: 44295 RVA: 0x001D4004 File Offset: 0x001D2204
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMagicBattleFailSettleInfoScNotify.Descriptor;
			}
		}

		// Token: 0x0600AD08 RID: 44296 RVA: 0x001D400B File Offset: 0x001D220B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicBattleFailSettleInfoScNotify()
		{
		}

		// Token: 0x0600AD09 RID: 44297 RVA: 0x001D4014 File Offset: 0x001D2214
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicBattleFailSettleInfoScNotify(RogueMagicBattleFailSettleInfoScNotify other) : this()
		{
			this.rogueTournCurSceneInfo_ = ((other.rogueTournCurSceneInfo_ != null) ? other.rogueTournCurSceneInfo_.Clone() : null);
			this.tournFinishInfo_ = ((other.tournFinishInfo_ != null) ? other.tournFinishInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600AD0A RID: 44298 RVA: 0x001D4070 File Offset: 0x001D2270
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicBattleFailSettleInfoScNotify Clone()
		{
			return new RogueMagicBattleFailSettleInfoScNotify(this);
		}

		// Token: 0x17003103 RID: 12547
		// (get) Token: 0x0600AD0B RID: 44299 RVA: 0x001D4078 File Offset: 0x001D2278
		// (set) Token: 0x0600AD0C RID: 44300 RVA: 0x001D4080 File Offset: 0x001D2280
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicCurSceneInfo RogueTournCurSceneInfo
		{
			get
			{
				return this.rogueTournCurSceneInfo_;
			}
			set
			{
				this.rogueTournCurSceneInfo_ = value;
			}
		}

		// Token: 0x17003104 RID: 12548
		// (get) Token: 0x0600AD0D RID: 44301 RVA: 0x001D4089 File Offset: 0x001D2289
		// (set) Token: 0x0600AD0E RID: 44302 RVA: 0x001D4091 File Offset: 0x001D2291
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicFinishInfo TournFinishInfo
		{
			get
			{
				return this.tournFinishInfo_;
			}
			set
			{
				this.tournFinishInfo_ = value;
			}
		}

		// Token: 0x0600AD0F RID: 44303 RVA: 0x001D409A File Offset: 0x001D229A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMagicBattleFailSettleInfoScNotify);
		}

		// Token: 0x0600AD10 RID: 44304 RVA: 0x001D40A8 File Offset: 0x001D22A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMagicBattleFailSettleInfoScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.RogueTournCurSceneInfo, other.RogueTournCurSceneInfo) && object.Equals(this.TournFinishInfo, other.TournFinishInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600AD11 RID: 44305 RVA: 0x001D40FC File Offset: 0x001D22FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num ^= this.RogueTournCurSceneInfo.GetHashCode();
			}
			if (this.tournFinishInfo_ != null)
			{
				num ^= this.TournFinishInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600AD12 RID: 44306 RVA: 0x001D414E File Offset: 0x001D234E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600AD13 RID: 44307 RVA: 0x001D4156 File Offset: 0x001D2356
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600AD14 RID: 44308 RVA: 0x001D4160 File Offset: 0x001D2360
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueTournCurSceneInfo_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.RogueTournCurSceneInfo);
			}
			if (this.tournFinishInfo_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.TournFinishInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600AD15 RID: 44309 RVA: 0x001D41BC File Offset: 0x001D23BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurSceneInfo);
			}
			if (this.tournFinishInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.TournFinishInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600AD16 RID: 44310 RVA: 0x001D4214 File Offset: 0x001D2414
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMagicBattleFailSettleInfoScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rogueTournCurSceneInfo_ != null)
			{
				if (this.rogueTournCurSceneInfo_ == null)
				{
					this.RogueTournCurSceneInfo = new RogueMagicCurSceneInfo();
				}
				this.RogueTournCurSceneInfo.MergeFrom(other.RogueTournCurSceneInfo);
			}
			if (other.tournFinishInfo_ != null)
			{
				if (this.tournFinishInfo_ == null)
				{
					this.TournFinishInfo = new RogueMagicFinishInfo();
				}
				this.TournFinishInfo.MergeFrom(other.TournFinishInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600AD17 RID: 44311 RVA: 0x001D4294 File Offset: 0x001D2494
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600AD18 RID: 44312 RVA: 0x001D42A0 File Offset: 0x001D24A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					if (num != 50U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.tournFinishInfo_ == null)
						{
							this.TournFinishInfo = new RogueMagicFinishInfo();
						}
						input.ReadMessage(this.TournFinishInfo);
					}
				}
				else
				{
					if (this.rogueTournCurSceneInfo_ == null)
					{
						this.RogueTournCurSceneInfo = new RogueMagicCurSceneInfo();
					}
					input.ReadMessage(this.RogueTournCurSceneInfo);
				}
			}
		}

		// Token: 0x04004637 RID: 17975
		private static readonly MessageParser<RogueMagicBattleFailSettleInfoScNotify> _parser = new MessageParser<RogueMagicBattleFailSettleInfoScNotify>(() => new RogueMagicBattleFailSettleInfoScNotify());

		// Token: 0x04004638 RID: 17976
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004639 RID: 17977
		public const int RogueTournCurSceneInfoFieldNumber = 3;

		// Token: 0x0400463A RID: 17978
		private RogueMagicCurSceneInfo rogueTournCurSceneInfo_;

		// Token: 0x0400463B RID: 17979
		public const int TournFinishInfoFieldNumber = 6;

		// Token: 0x0400463C RID: 17980
		private RogueMagicFinishInfo tournFinishInfo_;
	}
}
